home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5572 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  864 b 

  1. Path: castle.nando.net!news
  2. From: actuary@nando.net   (Bill McCarthy)
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: Converting integer to char/string?
  5. Date: 5 Feb 1996 19:20:15 GMT
  6. Organization: News & Observer Public Access
  7. Message-ID: <4f5l9f$4v5@castle.nando.net>
  8. References: <4f5ehf$48i@brtph500.bnr.ca>
  9. Reply-To: actuary@nando.net (Bill McCarthy)
  10. NNTP-Posting-Host: grail2419.nando.net
  11. X-Newsreader: IBM NewsReader/2 v1.2
  12.  
  13. In <4f5ehf$48i@brtph500.bnr.ca>, Gilbert Banks <gilbertb@bnr.ca> writes:
  14. >What is the function and header for converting an integer to char or string?
  15. >I think the header is <stdlib.h>.
  16.  
  17. Gilbert,
  18.  
  19. That question is in the FAQ!  Read it before asking the same questions.
  20.  
  21. Look up sprintf().  Doesn't your manual tell you the header where it is
  22. declared?  It should be in <stdio.h>.
  23.  
  24. Bill McCarthy
  25. actuary@nando.net
  26. Wendell, NC  USA
  27.  
  28.